<template>
  <router-view />
</template>

<script setup>
import { onBeforeUnmount, onMounted } from "@vue/runtime-core";
// import { message } from "ant-design-vue";
// let timer = undefined;
// onMounted(() => {
//   timer= setInterval(() => {
//     demo();
//   }, 1000);
// });

// onBeforeUnmount(() => {
//   clearInterval(timer);
// });

// const demo = () => {
//   message.info("hello");
// };
</script>

<style scoped></style>
